import request from '@/utils/request'

//chatgpt chat api
export function chatgpt(query) {
  return request({
    url: `/openai/chatgpt/chat`,
    method: 'get',
    params: query
  })
}

//chatgpt chat api
export function chatgpt1(query) {
  return request({
    url: `/openai/chatgpt/chat1`,
    method: 'get',
    params: query
  })
}
